package com.example.fengyungo.domain;

import androidx.annotation.NonNull;

public class User {
    /**
     * 用户id
     */
    String userId;
    /**
     * 用户名
     */
    String userUsername;
    /**
     * 性别
     */
    String userSex;
    /**
     * 电话号码
     */
    String userPhone;
    /**
     * 密码
     */
    String userPassword;
    /**
     * 身份证号
     */
    String userIdCard;
    /**
     * 头像
     */
    String userAvatar;
    /**
     * 状态（不可用0，可用1)
     */
    Integer userStatus;
    /**
     * 账号创建时间
     */
    String userCreateTime;

    /**
     * 昵称
     */
    String userNickname;
    /**
     * 邮箱
     */
    String userMail;

    public String getUserMail() {
        return userMail;
    }

    public void setUserMail(String userMail) {
        this.userMail = userMail;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserUsername() {
        return userUsername;
    }

    public void setUserUsername(String userUsername) {
        this.userUsername = userUsername;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(String userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    @NonNull
    @Override
    public String toString() {
        return "Driver{" +
                "id='" + userId + '\'' +
                ", username='" + userUsername + '\'' +
                ", sex='" + userSex + '\'' +
                ", phone='" + userPhone + '\'' +
                ", password='" + userPassword + '\'' +
                ", idCard='" + userIdCard + '\'' +
                ", avatar='" + userAvatar + '\'' +
                ", status=" + userStatus +
                ", createTime='" + userCreateTime + '\'' +
                ", nickname='" + userNickname + '\'' +
                ", mail='" + userMail + '\'' +
                '}';
    }
}
